Skip to content

Add a command that wraps selected text with a helper #431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

N1ebieski
Copy link
Contributor

@N1ebieski N1ebieski commented Aug 6, 2025

This PR adds a command that wraps selected text with a helper. This command is especially useful with the dd() helper.

The command is available by default through keyboard shortcuts: SHIFT+ALT+D (wrap) and SHIFT+ALT+U (unwrap)

ezgif-7911fbbb0024ba

from the context menu:

obraz

and from the command palette:

obraz

I was inspired by a feature from Laravel Idea plugin for PHPStorm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant